//
//  ConnectModel.h
//  项目
//
//  Created by 焦钟培 on 14-12-29.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^ConnectBlock)(NSData *data);

@interface ConnectModel : NSObject<NSURLConnectionDataDelegate>

@property (copy, nonatomic)ConnectBlock myBlock;
@property (retain, nonatomic)NSMutableData *data;
+ (void)connectModelWithUrlStr: (NSString *)str parmaters: (NSMutableArray *)parmaters block:(ConnectBlock)block;
+ (NSString *)connectWithUrlStr: (NSString *)str parmaters: (NSMutableArray *)parmaters;

@end
